package test3_17.Auto;

public class Homework9_5_Test {
    public static void main(String[] args) {
        Auto auto = new Auto(40,1000,"棕色",4);
        auto.speedUp(30);
        auto.speedDown(10);


        Car car = new Car(true,false);
        car.judege();
        car.speedUp(30);
        car.speedDown(20);
        car.setCD(true);
        car.judege();
    }
}
